package com.hospital.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hospital.domain.pojo.Reservation;
import com.hospital.domain.utils.Result;

public interface ReservationService extends IService<Reservation> {
    Result reservation(Integer pId, Integer dId, Integer depId, String date, String time, String info);

    Result deleteReservation(Integer rId);
    
    Result queryAllReservations();
}
